package com.anbow.courseware.mapper;

import com.anbow.courseware.entity.DO.TeachingQuestions;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author zhaoYuFei
 */
@Mapper
public interface  TeachingQuestionsMapper {
    List<TeachingQuestions> getAll();

    List<TeachingQuestions> getByLabel(@Param("label") String label,@Param("pageNum") Integer pageNum);

    TeachingQuestions getById(String id);

    void update(TeachingQuestions teachingQuestions);

    void delete(String id);

    void add(TeachingQuestions teachingQuestions);
}
